﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Enterprise.Management.Interfaces;
using Enterprise.Management.Business;

namespace Enterprise.Management.Caches
{
    public class LoginCache
    {
        public static ILoginCache GetCacheProvider()
        {
            bool session = ConfigCache.SessionCache;
            if (session) return new LoginSessionCache();
            else return new LoginCookieCache();
        }
    }
}